\documentclass{minimal}
\begin{document}

\begin{environ*}
  A &= 10
  \\&= \command{
        something
      }
  \\&= 5
\end{environ*}

\begin{align}
  &x(
  asdasdlkj
  y)
  &= 1 \left(
  f(x)
\right)
\end{align}

\begin{equation}
  \begin{aligned}
    1 &
      & 2 \\
    3 &
      & 4 \\
  \end{aligned}
\end{equation}

\begin{tabular}{cc}
  \begin{tabular}{c}
    Cell 1
  \end{tabular} &
  \begin{tabular}{c}
    Cell 2
  \end{tabular}
\end{tabular}

\begin{equation}
  \begin{aligned}
    1 &
      & 2 \\
    3 &
      & 4 \\
  \end{aligned}
\end{equation}

\end{document}
